package com.yn.common.model.zy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 医生科室关联表
 * </p>
 *
 * @author xuquanjun
 * @since 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_doctor_department_link")
@ApiModel(value="DoctorDepartmentLink对象", description="医生科室关联表")
public class DoctorDepartmentLink implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 医生id
     */
    private Integer doctorId;

    /**
     * 所属科室
     */
    private Integer belongingDepartmentId;

    /**
     * 创建人
     */
    private Integer createId;

    /**
     * 修改人
     */
    private Integer updateId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 删除标识是否删除 1：是 0：否
     */
    private Integer isDelTag;


}
